home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Macintosh Drag and Drop / Demo Applications / Dragster / DragText Sources / main.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-03  |  428 b   |  36 lines  |  [TEXT/KAHL]

  1. /*
  2.  *
  3.  *        main.c
  4.  *
  5.  *        Main program.
  6.  *        
  7.  *
  8.  *        Author:        Rob Johnston
  9.  *        Date:        Tuesday, January 14, 1992
  10.  *
  11.  *        12/30/94    JML        Code now compiles with Universal interfaces.
  12.  *
  13.  *        Copyright © 1992 Apple Computer, Inc.
  14.  *
  15.  */
  16.  
  17. #define    _AllocateGlobals_
  18.  
  19. #include "globals.h"
  20.  
  21. #undef _AllocateGlobals_
  22.  
  23.  
  24. main()
  25.  
  26. {
  27.     InitializeToolbox();
  28.     InitializeGlobals();
  29.     InitEvents();
  30.     SetupMenus();
  31.  
  32.     EventLoop();
  33.  
  34.     DeallocateGlobals();
  35. }
  36.